package com.example.adminsystem.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

public class RouterReq {

    @Data
    public static class AddRouterRequest {
        @Schema(description = "路由名称", example = "系统管理", maxLength = 20)
        private String name;

        @Schema(description = "路由路径", example = "/test-router")
        private String path;

        @Schema(description = "备注", example = "这是测试路由")
        private String remark;

        @Schema(description = "图标", example = "el-icon-setting")
        private String icon;

        @Schema(description = "标签", example = "System")
        private String tag;

        @Schema(description = "父级id", example = "1")
        private String parentId;

    }

    @Data
    public static class RouterQuery {

        @Schema(description = "name", example = "/test-router")
        private String name;
    }
}
